﻿using Blog.Model;
using Blog.Model.Dto.Memento;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Interface
{
    /// <summary>
    /// 记忆
    /// </summary>
    public interface IMementoService
    {
        /// <summary>
        /// 获取记忆列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        public ApiResult MementoList(ListParam param);

        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        public ApiResult AddMemento(MementoAdd param);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        public ApiResult DelMemento(ListIds param);

        /// <summary>
        /// 编辑
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        public ApiResult UpMemento(MementoUp param);
    }
}
